package com.hw.sssd.repository;

import com.hw.sssd.entity.User;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;


public interface UserRepository extends JpaRepository<User,Integer> {
     Page<User> findByNameLike(String name, Pageable pageable);
}
